package com.zsrt.java.model.proxy2.ex3;

public class AdaTest {
	
	
	public static void main(String[] args) {
		
		KeyB k=new KeyB();
		
		//继承usb
		Adapter ad=new Adapter(k);
		ad.con();
		
		//传入usb参数
		Comp c=new Comp();
		c.connect(ad);
		
		
	}
	

}
